import java.util.TimerTask;

public class StatisticsUpdater extends TimerTask {
	private int interval = 0;

	public StatisticsUpdater(int interval) {
		super();
		this.interval = interval;
	}

	public void run() {
		UDPServer.instance().updateStats(true, interval);
	}
}
